<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('agent_admin_recommend_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>信贷经理编号：</span><input type="text" name="agent_admin_id" value="{$agent_admin_id}"/></li>
                    <li><span>推荐位置：</span>{:widget('common/Select/select',array('agent_admin_recommend_location','agent_admin_recommend_location',$agent_admin_recommend_location))}</li>
                    <li><span>真实姓名：</span><input type="text" name="real" value="{$real}"/></li>
                    <li><span>手机号码：</span><input type="text" name="phone" value="{$phone}"/></li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
                <div class="fr"><a class="but_blue" href="{:Url('agent/agent_admin_list')}">增加推荐</a></div>
            </li>
        </ul>
    </form>
</div>

<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
                <tr>
                    <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信贷经理编号</p></a></th>
                    <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>头像</p></a></th>
                    <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>真实姓名</p></a></th>
                    <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>手机号码</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>所在省市</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>推荐位置</p></a></th>
                    <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>推荐说明</p></a></th>
                    <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>排序</p></a></th>
                    <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>备注</p></a></th>
                    <th class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
                </tr>
            </thead>
            <tbody>
                {foreach name="recommend_list" item="info"}
                    <tr>
                        <td>{$info.agent_admin_id}</td>
                        <td>{:widget('common/Images/img',array($info["avatar"],30,30))}</td>
                        <td>{empty name="info['real']"}--{else/}{$info.real}{/empty}</td>
                        <td>{empty name="info['phone']"}--{else/}{$info.phone}{/empty}</td>
                        <td>{:widget('common/Name/area',array($info["province_id"]))} {:widget('common/Name/area',array($info["city_id"]))}</td>
                        <td>{:widget('common/Color/color',array('agent_admin_recommend_location',$info['agent_admin_recommend_location']))}</td>
                        <td title="{$info.agent_admin_note}">{$info.agent_admin_note}</td>
                        <td>{$info.order_by}</td>
                        <td title="{$info.remark}">{$info.remark}</td>
                        <td>
                            <a data-type="info-win" data-src="{:Url('agent_admin_recommend_info',array('agent_admin_recommend_id'=>$info['agent_admin_recommend_id']))}" data-title="详情" data-width="50%" data-height="50%" class="blue">详情</a>
                            <a href="{:Url('agent_admin_recommend_edit',array('agent_admin_recommend_id'=>$info['agent_admin_recommend_id']))}" class="blue">编辑</a>
                            <a href="{:Url('agent_admin_recommend_del',array('agent_admin_recommend_id'=>$info['agent_admin_recommend_id']))}" class="blue">删除</a>
                        </td>
                    </tr>
                {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>
